<?php
/**
 * Pages_AdminController
 * 
 * @author
 * @version 
 */
class Customblock_IndexController extends Zend_Controller_Action {
	
	public function indexAction() {
		$alias = $this->_helper->checkParam('alias',true,'StripTags','NotEmpty');
		$model = new Customblock_Model_Item();
		$res = $model->select()->setOrder("weight desc")->getOne("alias='$alias'");
		$this->view->res = $res;
	}
	
}
